package vns.client.service;

import java.util.ArrayList;
import java.util.List;

import vns.shared.RuleActionDTO;
import vns.shared.RuleParamDTO;
import vns.shared.ObjectPropertyDTO;

import com.google.appengine.api.datastore.Key;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("ruleactionparamService")
public interface RuleParamService extends RemoteService{
	RuleParamDTO Create(RuleParamDTO paramDTO);
	RuleParamDTO Load(Key id);
	RuleParamDTO Update(RuleParamDTO action);
	boolean Remove(Key id);
	void Updateall(List<RuleParamDTO> action,RuleActionDTO Action);
	void Updateall(List<RuleParamDTO> action,ObjectPropertyDTO opropertyDTO);
	ArrayList<RuleParamDTO> Loadall(RuleActionDTO action);
	ArrayList<RuleParamDTO> Loadall(ObjectPropertyDTO opropertyDTO);

}
